#pragma once
class FPSCounter
{
public:
	FPSCounter(int frameTestPeriod);
	~FPSCounter(void);
	void PushFrameTime(double fTime);
	float GetFPS();

protected:
	int m_maxFrameCount;
	int m_frameCount;
	double m_fpsSum;
	float m_lastFPS;
};

